home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
ddj0897.zip
/
DYN401.ZIP
/
class
/
assoc.c
< prev
next >
Wrap
C/C++ Source or Header
|
1997-04-16
|
879b
|
58 lines
/* Copyright (c) 1993-1996 Algorithms Corporation */
/* All rights reserved. */
/* This file automatically generated by dpp - do not edit */
#define DPP_STRATEGY 2
#define DPP_FASTWIDE 0
#define CLASS Association_c
#define ivType Association_iv_t
#include "generics.h"
object Association_c;
#line 27 "assoc.c"
objrtn Association_initialize(void)
{
static CRITICALSECTION cs;
static int volatile once = 0;
ENTERCRITICALSECTION(_CI_CS_);
if (!once) {
INITIALIZECRITICALSECTION(cs);
once = 1;
}
LEAVECRITICALSECTION(_CI_CS_);
ENTERCRITICALSECTION(cs);
if (Association_c) {
LEAVECRITICALSECTION(cs);
return Association_c;
}
INHIBIT_THREADER;
Association_c = gNewClass(Class, "Association", 0, 0, END);
ENABLE_THREADER;
LEAVECRITICALSECTION(cs);
return Association_c;
}